package com.ktkj.init.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel
@Data
public class SysJobUpdateStatusForm {

    @NotNull(message = "状态不能为空！")
    @ApiModelProperty(value = "状态（0：正常 1：暂停）", example = "1", required = true)
    private Integer status;

    @ApiModelProperty(value = "id(修改时必须输入)", example = "1")
    private Long id;

}
